package com.ifugle.rap.application.api;

import java.util.List;
import com.ifugle.rap.application.model.UserTool;
import org.apache.ibatis.annotations.Mapper;

public interface UserToolApi {

    int deleteByPrimaryKey(Long id);

    int insert(UserTool record);

    int insertSelective(UserTool record);

    UserTool selectByPrimaryKey(Long id);

    List<UserTool> selectByUserId(Long userId);

    int updateByPrimaryKeySelective(UserTool record);

    int updateByPrimaryKey(UserTool record);

    UserTool selectByUserIdAndToolId(Long userId,Long toolId);
}
